<?php
class Person_Model extends Entity_Model {
    
    public function __construct($valueMap) {
        parent::__construct(
                
                /* table */
                'person',
                
                /* field names */
                array(
                    'manager_id',
					'first_name',
					'last_name',
					'other_names',
					'yoga_name',
					'title',
					'birth_date',
					'gender',
					'telephone',
					'email',
					'street',
					'city',
					'postal_code',
					'notes',
					'country_code',
					'organization_id',
					'idcard_number',
					'idcard_type',
					'citizenship_code',
					'is_ztp',
					'country_of_residence_code',
                	'preferred_language'
                ),
                
                /* primary keys */
                'id',
                
                /* values */
                $valueMap
        );
    }
    
}